<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<style>
    body{
        height: 4200px;
    }
    .logo{
        height: 400px;
        width: 600px;
        background-color: plum;
        margin: 0 40px;
        position: sticky;
        top: 0px;
    }
    .banner{
        margin-top: 400px;
        height: 480px;
        width: 500px;
        background-color: goldenrod;
    }
</style>
<body>

<div class="logo">

</div>
<div class="banner">

</div>
</body>
</html>